@extends('layouts.homebase')
@section('tdk')
<title>{{$tdk['title']}}</title>
<meta name="keywords" content="{{$tdk['keywords']}}" />
<meta name="description" content="{{$tdk['description']}}" />
@endsection
@section('css')
@parent
@endsection
@section('content')

    <div class="container">
        <div class="row clearfix">
            <div class="col-md-12 column">
                <ul class="nav nav-tabs">
                    @foreach($eids as $k => $e) {{-- active  disabled--}}
                    <li class="{{ $eid == $k?'active':''}}"><a href="/jdlm/index?eid={{$k}}">{{$e}}</a></li>
                    @endforeach
                </ul>
                <div class="row">
                    @foreach($jdlmres['data'] as $v)
                    <div class="col-md-4">
                        <div class="thumbnail">
                            <a href="{{$v['tglj']['clickURL']}}">
                                <img alt="300x200" style="width: 228px" src="{{$v['imageInfo']['imageList'][0]['url']}}" />
                                <div class="caption">
                                    <h3>{{$v['skuName']}}</h3>
                                    <p>品牌：{{$v['brandName']}}</p>
                                    <p>商店名称：{{$v['shopInfo']['shopName']}}</p>
                                    <p style="text-decoration: line-through;">促销价：{{$v['priceInfo']['lowestPrice']}}</p>
                                    <p style="    display: inline;float: right;font-size: 20px;color: red;border: 1px solid #e1d9d9;">优惠券：{{ isset($v['couponInfo']['couponList'][0]['discount'])?$v['couponInfo']['couponList'][0]['discount']:'暂无' }}</p>
                                    <p>劵后价：{{$v['priceInfo']['lowestCouponPrice']}}</p>
                                    <p><a class="btn btn-primary" href="{{$v['tglj']['clickURL']}}">领劵购买</a></p>
                                </div>
                            </a>
                        </div>
                    </div>
                    @endforeach
                </div>
                <ul class="pagination">
                    <li><a href="" class="{{$page==1?'btn btn-large disabled':''}}"> &lt; </a></li>
                    <li><a href="#">{{$page}}</a></li>
                    <li><a href="https://blog.zongscan.com/jdlm/index?page={{$page+1}}"> &gt; </a></li>
                </ul>
            </div>
        </div>
    </div>

@endsection
@section('js')
@parent
@endsection











